<template>
  <div class="NoteFound">
    <div style="width: 100%;margin-top: 100px;">
      <van-empty
        image="https://fastly.jsdelivr.net/npm/@vant/assets/custom-empty-image.png"
        image-size="80"
        description="页面走丢了"
      />
      <div style="margin: 0px auto; width: 66px">
        <van-button size="small" type="success" @click="gotoHome"
          >回到首页</van-button
        >
      </div>
    </div>
  </div>
</template>

<script>
import router from "@/router";

export default {
  name: "NotFound",
  methods: {
    gotoHome() {
      this.$router.replace("/home");
    },
  },
};
</script>

<style></style>
